package minijava.SintaxeAbstrata;

import minijava.visitor.*;
/**
 *
 * @author bruno
 */
public class Goal {

    public MainClass m;
    public ClassDeclList cl;
    
    public Goal(MainClass m, ClassDeclList cl)
    {
        this.m = m;
        this.cl = cl;
    }

    public void accept(Visitor v)
    {
        v.visit(this);
    }

    public Type accept(TypeVisitor tv)
    {
        return tv.visit(this);
    }

}
